import { Request, Response } from 'express'
import { Controller, Get } from '../decorator'


@Controller()
export class LoginController {
    @Get('/')
    index(req: Request, res: Response) {
        res.send('你猜好使不?')
    }

    @Get('/user')
    login(req: Request, res: Response) {
        res.send('user')
    }
}